package com.tebiecloud.mpweixin.server.service;

import com.tebiecloud.mpweixin.client.model.entity.MpweixinUserExpand;
import com.tebiecloud.common.mybatis.base.service.IBaseService;
import com.tebiecloud.mpweixin.client.model.vo.PersonalInfoVO;

/**
 * 用户拓展表 服务类
 * @author tebie
 * @date 2019-09-16
 */
public interface MpweixinUserExpandService extends IBaseService<MpweixinUserExpand> {

    /**
     * 个人信息
     * @return
     */
    PersonalInfoVO infoPersonal(long userId,String openid);

    /**
     * 个人资料
     * @return
     */
    MpweixinUserExpand information(long userId,String openid);

    /**
     * 查询或者创建
     * @param userId
     * @return
     */
    MpweixinUserExpand createOrFind(long userId,String openid);

}
